home *** CD-ROM | disk | FTP | other *** search
/ Languguage OS 2 / Languguage OS II Version 10-94 (Knowledge Media)(1994).ISO / gnu / gas_251.zip / bin_251 / bfd / hosts / i386mach3.h < prev    next >
C/C++ Source or Header  |  1994-01-01  |  762b  |  34 lines

  1. #include "hosts/std-host.h"
  2.  
  3. #include <machine/vmparam.h>
  4. #include <sys/param.h>
  5.  
  6. /* This is an ugly way to hack around the incorrect
  7.  * definition of UPAGES in i386/machparam.h.
  8.  *
  9.  * The definition should specify the size reserved
  10.  * for "struct user" in core files in PAGES,
  11.  * but instead it gives it in 512-byte core-clicks
  12.  * for i386 and i860. UPAGES is used only in trad-core.c.
  13.  */
  14. #if UPAGES == 16
  15. #undef  UPAGES
  16. #define UPAGES 2
  17. #endif
  18.  
  19. #if UPAGES != 2
  20. FIXME!! UPAGES is neither 2 nor 16
  21. #endif
  22.  
  23. #define    HAVE_STRERROR
  24.  
  25. #define    HOST_PAGE_SIZE        1
  26. #define    HOST_SEGMENT_SIZE    NBPG
  27. #define    HOST_MACHINE_ARCH    bfd_arch_i386
  28. #define    HOST_TEXT_START_ADDR    USRTEXT
  29. #define    HOST_STACK_END_ADDR    USRSTACK
  30.  
  31. /* Not declared in errno.h on Mach3.  */
  32.  
  33. extern int errno;
  34.